﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using VM.Common.Result;
using VM.Entity.EntityDto.EnTry;
using VM.Entity.EntityMap.EnTry;
using VM.Entity.EntityMap.System.Code;

namespace VM.IDAL.System.Entry
{
    public interface IEntryDAL
    {
        /// <summary>
        /// 插入编码规则
        /// </summary>
        /// <param name="obj"></param>
        /// <returns></returns>
        public int addEntry(sys_entry obj);

        public int addUserEntryLink(List<sys_userEntryLink> obj);
        public int updateEntry(sys_entry obj);

        /// <summary>
        /// 删除编码规则
        /// </summary>
        /// <param name="obj"></param>
        /// <returns></returns>
        public int deleteEntry(sys_entry obj);

        public List<getEntryTreeListDto> getEntryTreeListDto(string TypeName, int UserId);

    }
}
